import http from "../http/index.js";
import config from "../config/index.js";

class IndexService {
	//用户注册
	async reg(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.reg,
			data: data,
			header: header
		})
	}
	//用户登录
	async login(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.login,
			data: data,
			header: header
		})
	}
	// 获取验证码
	async sendSms(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.sendSms,
			data: data,
			header: header
		})
	}
	//重置密码
	async resetPwd(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.resetPwd,
			data: data,
			header: header
		})
	}
	//获取用户信息
	async getUserInfo(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getUserInfo,
			data: data,
			header: header
		})
	}


	// 三界大陆接口
	//我的集字
	async writeList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.writeList,
			data: data,
			header: header
		})
	}

	//集字兑换
	async getWriteReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getWriteReward,
			data: data,
			header: header
		})
	}

	//实物兑换列表
	async exchangeList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.exchangeList,
			data: data,
			header: header
		})
	}
	//实物兑换
	async exchangething(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.exchangething,
			data: data,
			header: header
		})
	}
	//参与水晶翻倍活动
	async enroll(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.enroll,
			data: data,
			header: header
		})
	}
	//获奖名单
	async enrollReward(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.enrollReward,
			data: data,
			header: header
		})
	}
	//四个排行榜
	async rankList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.rankList,
			data: data,
			header: header
		})
	}
	//穿戴中的装备
	async inEquip(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.inEquip,
			data: data,
			header: header
		})
	}
	//选择装备
	async chooseequip(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.chooseequip,
			data: data,
			header: header
		})
	}
	//替换装备
	async wearEquip(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.wearEquip,
			data: data,
			header: header
		})
	}
	//用户升级
	async upLevel(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.upLevel,
			data: data,
			header: header
		})
	}
	//增加经验值
	async upExp(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.upExp,
			data: data,
			header: header
		})
	}
	//激活称号
	async titactivity(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.titactivity,
			data: data,
			header: header
		})
	}
	//我的背包
	async myEquip(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.myEquip,
			data: data,
			header: header
		})
	}
	//领取神兽分红
	async exchange(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.exchange,
			data: data,
			header: header
		})
	}
	//神兽碎片合成
	async compose(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.compose,
			data: data,
			header: header
		})
	}
	//模拟开宝箱
	async imitateOpernJewel(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.imitateOpernJewel,
			data: data,
			header: header
		})
	}
	//开启神秘宝箱
	async opernJewel(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.opernJewel,
			data: data,
			header: header
		})
	}
	//模拟挂机
	async imitateHook(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.imitateHook,
			data: data,
			header: header
		})
	}
	//修改个人信息
	async editInfo(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.editInfo,
			data: data,
			header: header
		})
	}
	//挑战boss大陆页面按钮状态
	async tzstatus(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.tzstatus,
			data: data,
			header: header
		})
	}
	//领取模拟挂机奖励
	async imitateReceHookReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.imitateReceHookReward,
			data: data,
			header: header
		})
	}
	//关闭模拟挂机查看奖励弹窗回调
	async closemoniHook(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.closemoniHook,
			data: data,
			header: header
		})
	}
	//真实挂机
	async hook(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.hook,
			data: data,
			header: header
		})
	}
	//关闭挂机奖励弹窗回调
	async closeHook(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.closeHook,
			data: data,
			header: header
		})
	}
	//领取挂机奖励
	async receHookReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.receHookReward,
			data: data,
			header: header
		})
	}
	//靓号列表
	async uIdlist(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.uIdlist,
			data: data,
			header: header
		})
	}
	//购买靓号
	async buyId(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.buyId,
			data: data,
			header: header
		})
	}
	//开通月卡
	async openCard(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.openCard,
			data: data,
			header: header
		})
	}
	//闯关镇妖塔
	async tower(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.tower,
			data: data,
			header: header
		})
	}
	//留言列表
	async msgLogs(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.msgLogs,
			data: data,
			header: header
		})
	}

	//发布留言
	async publishMsg(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.publishMsg,
			data: data,
			header: header
		})
	}
	//升级超级大玩家
	async becomesuper(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.becomesuper,
			data: data,
			header: header
		})
	}

	//神兽列表
	async getanimals(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getanimals,
			data: data,
			header: header
		})
	}

	//取消超级大玩家
	async cancelSuper(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.cancelSuper,
			data: data,
			header: header
		})
	}
	//模拟挑战boss
	async imitateChallenge(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.imitateChallenge,
			data: data,
			header: header
		})
	}

	//领取模拟挑战boss奖励
	async imitateReceChallengeReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.imitateReceChallengeReward,
			data: data,
			header: header
		})
	}
	//关闭领取模拟挑战大陆boss奖励弹窗回调
	async closemoniChallenge(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.closemoniChallenge,
			data: data,
			header: header
		})
	}

	//挑战大陆boss
	async challenge(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.challenge,
			data: data,
			header: header
		})
	}

	//领取挑战大陆BOSS奖励
	async receChallengeReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.receChallengeReward,
			data: data,
			header: header
		})
	}
	//关闭挑战boss领取弹窗调取
	async closeChallenge(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.closeChallenge,
			data: data,
			header: header
		})
	}
	//赠送道具
	async giveProps(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.giveProps,
			data: data,
			header: header
		})
	}
	//世界boss中奖名单
	async pkWorldReward(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.pkWorldReward,
			data: data,
			header: header
		})
	}
	//报名世界boss
	async pkWorld(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.pkWorld,
			data: data,
			header: header
		})
	}
	//赠送水晶
	async giveGold(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.giveGold,
			data: data,
			header: header
		})
	}
	//摊位商品列表
	async goodsList(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.goodsList,
			data: data,
			header: header
		})
	}

	//摊位列表
	async stallList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.stallList,
			data: data,
			header: header
		})
	}

	//摊位详情
	async stallInfo(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.stallInfo,
			data: data,
			header: header
		})
	}

	//摊位商品购买
	async buyStall(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.buyStall,
			data: data,
			header: header
		})
	}

	//道具上架
	async shelves(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.shelves,
			data: data,
			header: header
		})
	}
	//道具下架
	async undercarriage(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.undercarriage,
			data: data,
			header: header
		})
	}

	//设置摊位名称
	async setStallName(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.setStallName,
			data: data,
			header: header
		})
	}

	//摊位列表-- 换一批
	async randStallList(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.randStallList,
			data: data,
			header: header
		})
	}

	//我要摆摊
	async setstall(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.setstall,
			data: data,
			header: header
		})
	}
	//解锁大陆
	async unLock(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.unLock,
			data: data,
			header: header
		})
	}

	//增加大陆挂机次数
	async increase(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.increase,
			data: data,
			header: header
		})
	}

	//奥德彪商店列表
	async systemStore(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.systemStore,
			data: data,
			header: header
		})
	}

	//敖德彪商品交易
	async trade(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.trade,
			data: data,
			header: header
		})
	}
	//大玩家列表
	async superList(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.superList,
			data: data,
			header: header
		})
	}
	//提现  money,(需要头部传参)， Post
	async cash(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.cash,
			data: data,
			header: header
		})
	}
	//// 绑定支付宝账号
	async bindAli(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.bindAli,
			data: data,
			header: header
		})
	}

	// 零钱记录
	async moneyDetailList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.moneyDetailList,
			data: data,
			header: header
		})
	}

	//直推好友列表 
	async getOneUser(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getOneUser,
			data: data,
			header: header
		})
	}

	//    间推好友列表
	async getTwoUser(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getTwoUser,
			data: data,
			header: header
		})
	}

	//全服记录
	async areaLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.areaLogs,
			data: data,
			header: header
		})
	}

	//查看用户个人信息
	async getInfo(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getInfo,
			data: data,
			header: header
		})
	}

	//实名认证
	async userreal(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.userreal,
			data: data,
			header: header
		})
	}
	//水晶记录
	async getGoldList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getGoldList,
			data: data,
			header: header
		})
	}

	//领取每日实名认证奖励
	async realReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.realReward,
			data: data,
			header: header
		})
	}
	//摊位记录
	async stallLogs(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.stallLogs,
			data: data,
			header: header
		})
	}

	//  公告列表 ：header
	async getNewsList(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getNewsList,
			data: data,
			header: header
		})
	}

	// 公告内容：header,id
	async getNews(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getNews,
			data: data,
			header: header
		})
	}
	//注冊获取唯一码
	async verify(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.verify,
			data: data,
			header: header
		})
	}

	//获取游戏地址 gid: 游戏ID，id: 用户id
	async third_login(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.third_login,
			data: data,
			header: header
		})
	}

	//游戏等级排行榜
	async gameLvList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.gameLvList,
			data: data,
			header: header
		})
	}

	//游戏排行榜报名
	async gamerankList(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.gamerankList,
			data: data,
			header: header
		})
	}
	//游戏天选之人报名
	async chosePerson(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.chosePerson,
			data: data,
			header: header
		})
	}
	//游戏列表开通状态
	async getGmOpenList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getGmOpenList,
			data: data,
			header: header
		})
	}

	//开通电脑端畅玩
	async openUrl(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.openUrl,
			data: data,
			header: header
		})
	}
	//领取渠道收益
	async receReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.receReward,
			data: data,
			header: header
		})
	}
	//获取游戏报名状态
	async getGmListtype(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getGmListtype,
			data: data,
			header: header
		})
	}
	//获取QQ群信息
	async getQQInfo(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getQQInfo,
			data: data,
			header: header
		})
	}

	//装备列表
	async equip(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.equip,
			data: data,
			header: header
		})
	}
	//裂变渠道人数
	async channelNums(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.channelNums,
			data: data,
			header: header
		})
	}
	//领取共享渠道收益
	async getChannelReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getChannelReward,
			data: data,
			header: header
		})
	}
	//领取共享裂变渠道收益
	async getChannelLbReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getChannelLbReward,
			data: data,
			header: header
		})
	}
	//鉴定装备
	async appraisal(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.appraisal,
			data: data,
			header: header
		})
	}
	//鉴定记录
	async appraisalLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.appraisalLogs,
			data: data,
			header: header
		})
	}
	//获取区服配置
	async getConfig(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getConfig,
			data: data,
			header: header
		})
	}
	//有效好友-- 展示列表
	async effective(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.effective,
			data: data,
			header: header
		})
	}
	//有效好友-- 展示列表  修改之后的接口
	async testeffective(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.testeffective,
			data: data,
			header: header
		})
	}
	//水晶任务列表
	async workShopList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.workShopList,
			data: data,
			header: header
		})
	}
	//解锁任务
	async buyWorkShop(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.buyWorkShop,
			data: data,
			header: header
		})
	}
	//领取水晶任务包奖励
	async getTaskReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getTaskReward,
			data: data,
			header: header
		})
	}
	//活动奖励提现：header，money
	async activityCash(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.activityCash,
			data: data,
			header: header
		})
	}
	//活动奖励提现明细：page，header
	async activityMoneyList(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.activityMoneyList,
			data: data,
			header: header
		})
	}
	//增加幸运值:header
	async incLucky(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.incLucky,
			data: data,
			header: header
		})
	}
	//消耗的水晶数量：header
	async luckyNums(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.luckyNums,
			data: data,
			header: header
		})
	}
	//有效用户认证：header
	async vlidate(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.vlidate,
			data: data,
			header: header
		})
	}

	// 领取新人任务奖励：header
	async newTask(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.newTask,
			data: data,
			header: header
		})
	}
	async rewardList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.rewardList,
			data: data,
			header: header
		})
	}

	//获取夺宝期数和剩余数量
	async getInfos(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getInfos,
			data: data,
			header: header
		})
	}

	//夺宝报名
	async rewardenroll(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.rewardenroll,
			data: data,
			header: header
		})
	}
	//中奖
	async rewardtoReward(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.rewardtoReward,
			data: data,
			header: header
		})
	}

	//中奖名单-多人夺宝
	async rewardLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.rewardLogs,
			data: data,
			header: header
		})
	}
	//夺宝订单
	async orderLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.orderLogs,
			data: data,
			header: header
		})
	}

	//夺宝订单
	async feed(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.feed,
			data: data,
			header: header
		})
	}
	//喂养主页信息
	async feedInfos(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.feedInfos,
			data: data,
			header: header
		})
	}
	//购买肉
	async buymeat(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.buymeat,
			data: data,
			header: header
		})
	}
	//我的记录
	async feedLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.feedLogs,
			data: data,
			header: header
		})
	}
	//排行榜-喂神兽
	async Animalsrank(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.Animalsrank,
			data: data,
			header: header
		})
	}

	//往期记录
	async beforeLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.beforeLogs,
			data: data,
			header: header
		})
	}
	//权益列表
	async CardList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.CardList,
			data: data,
			header: header
		})
	}
	//我的权益卡
	async myCards(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.myCards,
			data: data,
			header: header
		})
	}
	//开启盲盒
	async CardopernBox(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.CardopernBox,
			data: data,
			header: header
		})
	}
	//购买权益卡
	async buyCard(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.buyCard,
			data: data,
			header: header
		})
	}

	//领取银元
	async getSilver(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getSilver,
			data: data,
			header: header
		})
	}

	//银元记录
	async getSilverList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getSilverList,
			data: data,
			header: header
		})
	}

	//支付宝身份认证--初始化获取certify_id接口
	async ali_initialize(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.ali_initialize,
			data: data,
			header: header
		})
	}

	//支付宝身份认证开始认证接口
	async ali_auth(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.ali_auth,
			data: data,
			header: header
		})
	}
	//支付宝认证查询结果接口
	async ali_query(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.ali_query,
			data: data,
			header: header
		})
	}

	//开启水晶宝箱
	async openGoldBox(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.openGoldBox,
			data: data,
			header: header
		})
	}

	//苹果广告回调
	async iosadverBack(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.iosadverBack,
			data: data,
			header: header
		})
	}

	//卡密激活
	async activityCard(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.activityCard,
			data: data,
			header: header
		})
	}

	//卡密链接 接口
	async kmgetUrl(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.kmgetUrl,
			data: data,
			header: header
		})
	}

	//支付接口-彩虹易支付
	async paycharge(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.paycharge,
			data: data,
			header: header
		})
	}
	//领取实名认证奖励
	async CardrealReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.CardrealReward,
			data: data,
			header: header
		})
	}
	//实名认证按钮状态
	async crealStatus(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.crealStatus,
			data: data,
			header: header
		})
	}
	//好友人脸验证列表
	async faceList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.faceList,
			data: data,
			header: header
		})
	}

	//领取邀请好友人脸验证奖励
	async receFaceReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.receFaceReward,
			data: data,
			header: header
		})
	}

	//水晶兑换银元
	async goldToSilver(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.goldToSilver,
			data: data,
			header: header
		})
	}

	//水晶兑换黑水晶
	async goldToBlack(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.goldToBlack,
			data: data,
			header: header
		})
	}

	//黑水晶兑换水晶
	async blackToGold(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.blackToGold,
			data: data,
			header: header
		})
	}

	//黑水晶记录
	async getBlackGoldList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getBlackGoldList,
			data: data,
			header: header
		})
	}

	//黑水晶赠送
	async giveblackGold(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.giveblackGold,
			data: data,
			header: header
		})
	}
	//首页注册接口：header
	async registerSj(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.registerSj,
			data: data,
			header: header
		})
	}

	//水晶记录
	async getCrystalList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getCrystalList,
			data: data,
			header: header
		})
	}


	//一牛支付
	async yncharge(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.yncharge,
			data: data,
			header: header
		})
	}

	// 卡密激活
	async activityQyCard(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.activityQyCard,
			data: data,
			header: header
		})
	}

	//首页--三界大陆转入：header,num
	async sjInto(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.sjInto,
			data: data,
			header: header
		})
	}
	//神玩支付下单
	async payalequcharge(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.payalequcharge,
			data: data,
			header: header
		})
	}

	//好友累计开卡
	async getCards(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getCards,
			data: data,
			header: header
		})
	}


	// 成为担保人
	async pledge(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.pledge,
			data: data,
			header: header
		})
	}

	//取出保证金
	async outPledge(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.outPledge,
			data: data,
			header: header
		})
	}
	//订单列表  header,page,type(1 我的订单 2 担保订单)
	async orderList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.orderList,
			data: data,
			header: header
		})
	}

	//担保人列表
	async shoperList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.shoperList,
			data: data,
			header: header
		})
	}

	//  交易完成：header,order_id(订单列表  id)
	async orderfinish(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.orderfinish,
			data: data,
			header: header
		})
	}
	//交易驳回：header,order_id(订单列表  id)
	async orderreject(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.orderreject,
			data: data,
			header: header
		})
	}
	//狼人杀获取首页信息
	async werewolf(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.werewolf,
			data: data,
			header: header
		})
	}

	//狼人杀投入水晶
	async wolfinvest(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.wolfinvest,
			data: data,
			header: header
		})
	}

	//转投
	async wolfchangeInvest(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.wolfchangeInvest,
			data: data,
			header: header
		})
	}

	//获取锄头首页信息
	async hoeindex(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.hoeindex,
			data: data,
			header: header
		})
	}
	//探宝领取水晶
	async claimRewards(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.claimRewards,
			data: data,
			header: header
		})
	}

	//狼人杀获取往期记录
	async getWerewolfLog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getWerewolfLog,
			data: data,
			header: header
		})
	}
	//获取狼人杀结果
	async getPhaseDetail(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getPhaseDetail,
			data: data,
			header: header
		})
	}
	//获取参与记录
	async getJoinLog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getJoinLog,
			data: data,
			header: header
		})
	}

	//游戏奖励列表
	async getGmList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getGmList,
			data: data,
			header: header
		})
	}

	//领取游戏奖励
	async gameLvReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.gameLvReward,
			data: data,
			header: header
		})
	}
	//银币兑换零钱
	async silverMoney(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.silverMoney,
			data: data,
			header: header
		})
	}

	//银币兑换水晶
	async silverToCrystal(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.silverToCrystal,
			data: data,
			header: header
		})
	}


	//提升战力
	async upFighting(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.upFighting,
			data: data,
			header: header
		})
	}
	//红包提现
	async redCash(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.redCash,
			data: data,
			header: header
		})
	}
	//红包明细
	async redMoneyList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.redMoneyList,
			data: data,
			header: header
		})
	}

	//挑战boss详情页面
	async challengeDetail(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.challengeDetail,
			data: data,
			header: header
		})
	}
	//闯关镇妖塔/home/turn/tower
	async tower(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.tower,
			data: data,
			header: header
		})
	}
	//闯关镇妖塔记录
	async towerLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.towerLogs,
			data: data,
			header: header
		})
	}
	//闯关镇妖塔领取奖励
	async getTowerReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getTowerReward,
			data: data,
			header: header
		})
	}
	//闯关镇妖塔排行榜
	async towerRank(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.towerRank,
			data: data,
			header: header
		})
	}
	//发布求购
	async toBuy(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.toBuy,
			data: data,
			header: header
		})
	}
	//求购订单列表
	async myBuyList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.myBuyList,
			data: data,
			header: header
		})
	}
	//取消求购
	async cancelBuy(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.cancelBuy,
			data: data,
			header: header
		})
	}
	//发布出售
	async toSell(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.toSell,
			data: data,
			header: header
		})
	}
	//出售列表
	async mySellList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.mySellList,
			data: data,
			header: header
		})
	}
	//取消出售
	async cancelSell(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.cancelSell,
			data: data,
			header: header
		})
	}
	//出售中列表
	async sellList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.sellList,
			data: data,
			header: header
		})
	}
	//求购中列表
	async buyList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.buyList,
			data: data,
			header: header
		})
	} //交易记录
	async payLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.payLogs,
			data: data,
			header: header
		})
	}
	// 购买
	async onBuy(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.onBuy,
			data: data,
			header: header
		})
	}
	//出售
	async onSell(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.onSell,
			data: data,
			header: header
		})
	}

	//领取游戏红包
	async getGameMoney(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getGameMoney,
			data: data,
			header: header
		})
	}

	//游戏红包列表
	async gmMoneyList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.gmMoneyList,
			data: data,
			header: header
		})
	}

	//新人任务列表
	async newTaskList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.newTaskList,
			data: data,
			header: header
		})
	}

	//每日任务列表
	async perTaskList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.perTaskList,
			data: data,
			header: header
		})
	}

	//领取每日任务奖励
	async getPerTask(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getPerTask,
			data: data,
			header: header
		})
	}
	//战力比拼排行榜
	async fightList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.fightList,
			data: data,
			header: header
		})
	}
	//修改联系方式
	async editInfo(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.editInfo,
			data: data,
			header: header
		})
	}

	//查看联系方式
	async getInfo(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getInfo,
			data: data,
			header: header
		})
	}

	//邀请活动 -- 开宝箱
	async ivopernJewel(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.ivopernJewel,
			data: data,
			header: header
		})
	}

	//我的图鉴
	async myPics(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.myPics,
			data: data,
			header: header
		})
	}

	//领取图鉴分红
	async invitebonus(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.invitebonus,
			data: data,
			header: header
		})
	}

	//图鉴兑换
	async inviteexchange(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.inviteexchange,
			data: data,
			header: header
		})
	}

	//开宝箱记录
	async openLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.openLogs,
			data: data,
			header: header
		})
	}

	//宝石记录
	async jewelLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.jewelLogs,
			data: data,
			header: header
		})
	}

	//提升幸运值
	async upLucky(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.upLucky,
			data: data,
			header: header
		})
	}

	//提升幸运值记录
	async luckyLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.luckyLogs,
			data: data,
			header: header
		})
	}

	//列表 等级奖励次数
	async getGmBoxList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getGmBoxList,
			data: data,
			header: header
		})
	}

	// 领取的接口  phone_type，lv
	async gameBoxReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.gameBoxReward,
			data: data,
			header: header
		})
	}

	// header，page  提现记录
	async cashDetailList(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.cashDetailList,
			data: data,
			header: header
		})
	}

	//开启必得分红宝箱
	async opernjpBox(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.opernjpBox,
			data: data,
			header: header
		})
	}

	//   天庭任务列表
	async jobList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.jobList,
			data: data,
			header: header
		})
	}

	//  领取任务：header，type（1-6）
	async buyJob(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.buyJob,
			data: data,
			header: header
		})
	}

	// 领取任务奖励：header,type
	async getJobReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getJobReward,
			data: data,
			header: header
		})
	}

	//参与记录
	async flygetJoinLog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.flygetJoinLog,
			data: data,
			header: header
		})
	}
	//历史记录
	async historyLog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.historyLog,
			data: data,
			header: header
		})
	}
	//降落统计
	async landing(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.landing,
			data: data,
			header: header
		})
	}



	// 潮玩大冒险

	//熊猫等级列表
	async cwgetLvList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.cwgetLvList,
			data: data,
			header: header
		})
	}

	//领取每日称谓奖励
	async getLvCrystal(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getLvCrystal,
			data: data,
			header: header
		})
	}

	//熊猫合成列表
	async composeList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.composeList,
			data: data,
			header: header
		})
	}

	//游戏任务列表
	async gmTaskList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.gmTaskList,
			data: data,
			header: header
		})
	}

	//熊猫激活
	async useractive(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.useractive,
			data: data,
			header: header
		})
	}

	//领取熊猫分红
	async getBonus(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getBonus,
			data: data,
			header: header
		})
	}

	//闯关镇妖塔奖励记录
	async towerLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.towerLogs,
			data: data,
			header: header
		})
	}

	//领取游戏任务
	async getGmTask(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getGmTask,
			data: data,
			header: header
		})
	}

	//宝石兑换银元
	async jewelToSilver(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.jewelToSilver,
			data: data,
			header: header
		})
	}

	//收货地址
	async receiveAddr(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.receiveAddr,
			data: data,
			header: header
		})
	}

	async receiveAddr2(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.receiveAddr,
			data: data,
			header: header
		})
	}

	//赠送银元
	async giveSilver(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.giveSilver,
			data: data,
			header: header
		})
	}

	//宝石记录
	async getJewelList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getJewelList,
			data: data,
			header: header
		})
	}

	//赠送水晶
	async giveCrystal(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.giveCrystal,
			data: data,
			header: header
		})
	}

	//潮玩兔卡记录
	async getCardList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getCardList,
			data: data,
			header: header
		})
	}

	//购买潮玩兔卡
	async buyCard(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.buyCard,
			data: data,
			header: header
		})
	}

	//激活新人矿场
	async newMine(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.newMine,
			data: data,
			header: header
		})
	}

	//领取新人矿场奖励
	async getMineReward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getMineReward,
			data: data,
			header: header
		})
	}

	//领取挖宝石
	async carddig(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.carddig,
			data: data,
			header: header
		})
	}

	//宝石矿场列表
	async taskList1(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.taskList1,
			data: data,
			header: header
		})
	}

	//开启矿场
	async getTask(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getTask,
			data: data,
			header: header
		})
	}

	//水晶兑换银元
	async cystalToSilver(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.cystalToSilver,
			data: data,
			header: header
		})
	}

	//根据invitecode获取昵称
	async getUInfo(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getUInfo,
			data: data,
			header: header
		})
	}


	//求购以及出售列表
	async marketList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.marketList,
			data: data,
			header: header
		})
	}

	//弹窗公告
	async getNotice(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getNotice,
			data: data,
			header: header
		})
	}


}

export default new IndexService()